package cn.tedu.zx.pojo.court.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("court")
@Accessors(chain = true)
public class CourtDetailsVo implements Serializable {

//    场地id
    private Long id;

//    分类id
    private Long categoryId;

//    场地名称
    private String name;
    private String description;

//    场地图片地址
    private String url;

//    单价
    private BigDecimal price;

//    启禁用
    private Integer isEnable;

//    排序序号
    private Integer sort;

    //    创建时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime created;

    //    修改时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime updated;
}
